package com.jic.point.rest.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Auther YGH
 * @DATE 2020/11/13/14:12
 */
@ApiModel(description = "业务积分明细实体类")
@Data
public class PointsDetails extends SignData{
    @ApiModelProperty(notes = "用户id")
    private Long memberId;
    @ApiModelProperty(notes = "用户品牌代码")
    private String userKey;
    @ApiModelProperty(notes = "积分品牌代码")
    private String pointKey;
    @ApiModelProperty(notes = "页码")
    private Integer pageNo;
    @ApiModelProperty(notes = "页码数量")
    private Integer size;
    @ApiModelProperty(notes = "开始时间")
    private String startAt;
    @ApiModelProperty(notes = "结束时间")
    private String endAt;
    @ApiModelProperty(notes = "积分类型（参数解释：积分类型1累计（有效积分），2消耗，3冻结，4退回，5累计（未启用的，启用状态为1），6积分明细（累计（所有1，5）+消耗+退回），7过期积分（过期分值大于0且过期状态为1））")
    private Integer type;
    @ApiModelProperty(notes = "积分标签")
    private String label;
    @ApiModelProperty(notes = "查询渠道的区分 1表示查自身平台,非1就是所有平台")
    private Integer platType;

    @ApiModelProperty(notes = "积分上限")
    private Integer ceilingPoint;

    @ApiModelProperty(notes = "积分下限")
    private Integer floorPoint;

    @ApiModelProperty(notes = "规则码")
    private Integer ruleKey;

}
